package com.my.xq.domain.entity;

import java.util.ArrayList;
import java.util.List;

public enum RenWuDefine {
	
	CAST01("单元长", 20),

	CAST02("楼栋长", 30),

	CAST03("委员", 40),
	
	CAST04("主任", 50);

	private final String desc;

	private final int state;

	public static List<RenWuDefine> toupiaos() {
		List<RenWuDefine> result = new ArrayList<RenWuDefine>();
		result.add(RenWuDefine.CAST01);
		result.add(RenWuDefine.CAST02);
		result.add(RenWuDefine.CAST03);
		result.add(RenWuDefine.CAST04);
		return result;
	}
	
	private RenWuDefine(String desc, int state) {
		this.desc = desc;		
		this.state = state;
	}

	public String getDesc() {

		return desc;
	}

	public int getState() {

		return state;
	}	

}
